package com.github.pig.admin;

import org.activiti.spring.boot.SecurityAutoConfiguration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author lengleng
 * @date 2017年10月27日13:59:05
 */
@SpringBootApplication(exclude = SecurityAutoConfiguration.class)
@EnableAsync
@EnableDiscoveryClient
@MapperScan({"com.github.pig.admin.mapper"})
@EnableAutoConfiguration(exclude = {
        org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration.class,
        org.activiti.spring.boot.SecurityAutoConfiguration.class
})
public class PigActivityApplication {
    public static void main(String[] args) {
        SpringApplication.run(PigActivityApplication.class, args);
    }
}